package com.ncu.cloundeoffice.service;

import com.ncu.cloundeoffice.pojo.ResponseResult;

import java.util.List;

public interface TMenuRoleService {
    /**
     * 通过角色id查询菜单id
     * @param rid
     * @return
     */
    List<Integer> getMidByRid(int rid);

    /**
     * 更新角色菜单
     * @param rid
     * @param mids
     * @return
     */
    ResponseResult updateMenuRoleByRidAndMid(int rid, int[] mids);
}
